package com.shanghaionstar.nav.iview;

import com.onstar.cn.framework.mvp.base.IMVPView;
import com.onstar.cn.mag.poi.FavoriteEntity;
import com.onstar.cn.sqlite.entities.PoiSearchHistory;
import com.onstar.cn.map.common.PoiItemInfo;
import com.shanghaionstar.nav.model.NavInfoModel;

import java.util.List;
import java.util.Map;

/**
 * Created by 6335yz on 2016/7/7.
 */
public interface INavMainView extends IMVPView<NavInfoModel>{

    void showSearchItem(List<Map<String, Object>> datas);

    void showSearchResult(List<PoiItemInfo> searchPoiList);

    void showSearchResultWithNodata();

    void showMapLoading(boolean isShow, String msg);

//    void showHisLoading(boolean isShow);
//
//    void showFavLoading(boolean isShow);
//
//    void isShowHisCleanBtn(boolean isShow);


    void showHis(boolean isShow);

    void hisHasData(boolean hasData);

    void favLoading(boolean isLoading);

    void showSearchHistory(List<PoiSearchHistory> historyList);

    void showSearchFav(List<FavoriteEntity> list);

    void showDeleteDialog(PoiItemInfo poiItemInfo,int position);

    void showHomeCompText(String home,String comp);

    void clearPoiSearchInput();

    void showCommandLoading(boolean isShow);

    void showAppFrontNavCommandFailToast(PoiItemInfo poiItemInfo);

    void showAppBackNavCommandFailToast(PoiItemInfo poiItemInfo);
}
